package top.hundreds.oasys.bean.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import top.hundreds.common.crud.bean.BaseEntity;

import java.util.Date;

/**
 * (Announcement)实体类
 *
 * @author lcf
 * @since 2021-04-14 15:45:55
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("t_announcement")
public class Announcement extends BaseEntity {

    /**
     * 通知标题
     */
    private String name;

    /**
     * 通知类型
     */
    private Integer type;

    /**
     * 通知内容
     */
    private String content;

    /**
     * 发布人
     */
    private Long userId;

    /**
     * 发布时间
     */
    private Date issueTime;

    /**
     * 状态 0 表示启用 1表示禁用
     */
    private Integer status;

}
